Package-level declarations

Types

Link copied to clipboard

Represents the unit of angle measurement.

Link copied to clipboard
fun interface Distanceable<P>

Interface for objects that can compute the distance to another point.

Link copied to clipboard

Represents the orientation of three points in a 2D plane.

Link copied to clipboard
interface Spatial

Interface representing a spatial object in the KompGeom library.

Link copied to clipboard
interface Vector<V : Vector<V>> : Spatial, Distanceable<V>

This interface represents a vector in a multidimensional space.

Link copied to clipboard
interface Vector1<V : Vector1<V>> : Vector<V>

This interface represents a vector in one-dimensional space.

Link copied to clipboard
interface Vector2<V : Vector2<V>> : Vector<V>

This interface represents a vector in two-dimensional space.

Link copied to clipboard
interface Vector3<V : Vector3<V>> : Vector<V>

This interface represents a vector in three-dimensional space.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns this vector as an immutable Vec1.

Returns this vector as an immutable Vec2.

Returns this vector as an immutable Vec3.

Link copied to clipboard

Returns a mutable copy of this vector as a MutableVec1.

Returns a mutable copy of this vector as a MutableVec2.

Returns a mutable copy of this vector as a MutableVec3.